<template>
  <div class="box">
    <h1>Child</h1>
    <input type="text" :value="value" @input="$emit('input' , $event.target.value)">
  </div>
</template>

<script>
export default {
  name: "Child",
  props: ["value"]
};
</script>

<style scoped>
.box {
  background: yellowgreen;
}
</style>
